STEP 1: Let's get started! We'll use list of numbers that we can feed into our function to get the corresponding output.

In this lesson, we've set the scale on the stage so it only shows a range of numbers from -10 to +10.

  • Click on the LOGIC tab and click on .
  • Drag out List of Integers.
  • Change the name of the list to inputs. This holds all of our possible x values.

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)